n = int(input())
sum = 1
i = 2
while i <= n:
    if i % 2 == 0:
            sum += i
    else:
            sum -= i
    i += 1
print(sum)

